<?php
include('./static/RealmName.class.php');
include('./static/WechatSettings.php');
include('./static/Description.class.php');
   $url = $_SERVER["QUERY_STRING"];
   switch ($url){
       case 'RandomDomainName':
       $DomainName =   new RealmName();
       $ser= $DomainName->Realm();
       echo json_encode($ser);
       break;
       case 'wxSettings':
       $WechatSettings =   new WechatSettings();
       $data = $WechatSettings->Parameter();
       echo json_encode($data);
       break;
       case 'wxtitle':
       $Wechat_title =   new Description();
       $res =$Wechat_title->title();
       echo json_encode($res);
       break;
       default:
       echo "请选择参数";
   }

